# -*- coding: utf-8 -*-
# @Time    : 2019/5/7 11:32
# @Author  : zjj
# @Email   : 1933860854@qq.com
# @File    : getNeedData.py
# @Software: PyCharm
from util.getConstantsUtil import getConstantsVale
def getHandleCityList():
    handleCityStr = getConstantsVale('handleCity')
    handleCity = []
    if handleCityStr is None:
        handleCity = ['广州']
    else:
        for handle_city in handleCityStr.split(','):
            if handle_city:
                handleCity.append(handle_city)
    return handleCity

def getHandleMonth():
    handleMonth = getConstantsVale('handleMonth')
    if handleMonth:
        return str(handleMonth)
    else:
        return str(7)